/**
 * Created by bman on 17-3-31.
 */
var sequelizex = require('sequelize-short');
var shortDataTypes = sequelizex.DataTypes;

module.exports = function (sequelize, DataTypes) {

    var Carousel = sequelize.define('Carousel', {
        img : shortDataTypes.String(),
        href : shortDataTypes.String(),
        alt : shortDataTypes.String(null,true)
    });

    return Carousel;
};